<div ng-controller="ActivityCtrl" ng-init="listAction()">
    <ul class="sui-breadcrumb">
        <li>{{'活动页面'| translate}}</li>
        <li>{{'List'|translate}}
            <a href="#/activity/add" id="addNew" class="sui-btn btn-primary">+{{'add_new' | translate}}</a>
        </li>
        <span class="sui-form sui-form pull-right" ng-show="fasle"> 
          <input type="text"  placeholder="{{'keyword'|translate}}"  ng-model="keyword">
          <button class="sui-btn btn-primary" type="submit" ng-click="getCooperationList()">{{'search'|translate}}</button>
        </span>
    </ul>
    <table class="sui-table table-bordered">
        <thead>
            <tr>
                <th>{{'小程序'|translate}}</th>
                <th>{{'标题'|translate}}</th>
                <th>{{'时间'|translate}}</th>
                <th>{{'operation'|translate}}</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="list in activitys">
                <td>
                    <wx-app-list ng-model="list.app_id"  ary="storeary" stype='1'> </wx-app-list>
                </td>
                <td>{{list.title}}</td>
                <td>
                    {{list.created_at}}
                </td>
                <td>
                    <a href="#/activity/add?a_id={{list.activity_page_id}}" class="sui-btn btn-primary">{{'edit'|translate}}</a>
                    <btuuon ng-click="delete(list.activity_page_id)"  class="sui-btn btn-danger">{{'delete'|translate}}</btuuon>
                </td>
            </tr>
        </tbody>
    </table>
    <!-- 分页start -->
    <pager page-no="1" page-size="page_Size" total="activity_Total" get-data="getlist(pageNo)"></pager>
    <!-- 分页end -->
</div>